package edu.stanford.cs.cs294s;

import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.widget.ImageView;

public class CreatePlace extends Activity {
	ImageView preview;
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    	super.onCreate(savedInstanceState);
        setContentView(R.layout.create);
        
        Bitmap bm = BitmapFactory.decodeFile("photo.jpg");
        preview = (ImageView)findViewById(R.id.preview);
//      preview.setImageBitmap(bm);
        preview.setImageDrawable(getResources().getDrawable(R.drawable.androidmarker));
    }
}
